<?php
#!/bin/bash

/**
 * User: hzbskak
 * Date: 2020/1/14 - 11:48
 */
function echoJson( $arr)
{
    echo json_encode( $arr);die;
}

function dump( $arr)
{
    echo "<pre>";
    var_dump( $arr);
    echo "</pre>";
};

$redis = new Redis();

$redis->connect( '127.0.0.1', 6379);


//echo ( ( $redis->get( 'AREA_9356&PID_9355&CTYPE_2&STYPE_3:测试省&測試省&CESHISHENG&CSS&TEST PROVINCE')));die;
//echo ( ( $redis->get( 'areaDefault')));die;
//echo ( ( $redis->get( 'groomCountry')));die;


echoJson( $redis->keys( '*'));





















































